package com.motherchild.user.mapper;

import com.motherchild.user.dto.UserOrderDTO;
import com.motherchild.user.dto.UserOrderItemDTO;
import org.apache.ibatis.annotations.Mapper;

/**
 * @author zhuchenxu
 * @create 2025-03-12-17:38
 */
@Mapper
public interface UserOrderMapper {
    void insertOrder(UserOrderDTO orderDTO);

    void insertOrderItem(UserOrderItemDTO item);

    void deleteOrder(Long userId, Integer productId);
}
